package com.dooioo.fangyou.common.page;

import java.net.URLEncoder;
import java.util.Enumeration;
import org.apache.log4j.*;

public class PageListFactory 
{
	public static final String ENCODING = "UTF-8";
    
	public static final Logger logger = Logger.getLogger(PageListFactory.class);

	public static PageList createPageList(int pageNum, int currentPage) {
		if(currentPage==0) currentPage=1;
		PageList pageList = new PageListImpl(pageNum);
		pageList.setCurrentPage(currentPage);
		return pageList;
	}
}
